package com.sky.service;

import com.sky.dto.DishDTO;
import com.sky.dto.DishPageQueryDTO;
import com.sky.entity.Dish;
import com.sky.result.PageResult;
import com.sky.vo.DishVO;

import java.util.List;

public interface DishService {
    //新增菜品和对应的口味
    public  void saveWithFlavor(DishDTO dto);

    PageResult pageQuery(DishPageQueryDTO dto);

    void deleteBatch(List<Long> ids);


    DishVO getDish(Integer id);

    void updateDish(DishDTO dto);

    void updateStatus(Long id, Integer status);

    List<DishVO> getCategory(Long categoryId);
    List<DishVO> listWithFlavor(Long categoryId);
}
